home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / science / ack3d.zip / ACKDISP.C < prev    next >
Text File  |  1994-01-09  |  1KB  |  43 lines

  1. /******************* ( Animation Construction Kit 3D ) ***********************/
  2. /*               Display ViewWindow to Screen                 */
  3. /* CopyRight (c) 1993       Author: Lary Myers                     */
  4. /*****************************************************************************/
  5.  
  6. #include <stdlib.h>
  7. #include <stdio.h>
  8. #include <dos.h>
  9. #include <mem.h>
  10. #include <alloc.h>
  11. #include <io.h>
  12. #include <fcntl.h>
  13. #include <time.h>
  14. #include <string.h>
  15. #include <sys\stat.h>
  16. #include "ack3d.h"
  17. #include "ackeng.h"
  18.  
  19.  
  20. void AckDrawPage(int,int,UCHAR far *,int,int,int);
  21.  
  22.  
  23. /****************************************************************************
  24. ** This routine simply pulls out the needed information from the ACKENG       **
  25. ** structure before calling the assembly routine to do the actual display. **
  26. **                                       **
  27. ****************************************************************************/
  28. int AckDisplayScreen(ACKENG *ae)
  29. {
  30.  
  31. /* Let the assembly routine do the hard work */
  32.  
  33. AckDrawPage(ae->WinStartOffset,
  34.         ae->WinLength,
  35.         ae->ScreenBuffer,
  36.         ae->WinWidth,
  37.         ae->WinHeight,
  38.         ae->WinStartX);
  39.  
  40. return(0);
  41. }
  42.  
  43.